package com.tangcco.lockwell.domain;

import java.io.Serializable;

/**
 * 杨晨
 * */
public class UserToken implements Serializable {
    private static final long serialVersionUID = -1239840994924288761L;
    //主键自增
    private Integer id;
    //token
    private String token;
    //用户Id
    private Integer userId;
    //微信openId
    private String wxOpenId;
    //创建时间
    private String createTime;
    //结束时间
    private String endTime;
    //用户名
    private String userName;
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getToken() {
        return token;
    }
    public void setToken(String token) {
        this.token = token;
    }
    public Integer getUserId() {
        return userId;
    }
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public String getWxOpenId() {
        return wxOpenId;
    }
    public void setWxOpenId(String wxOpenId) {
        this.wxOpenId = wxOpenId;
    }
    public String getCreateTime() {
        return createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getEndTime() {
        return endTime;
    }
    public void setEnd_time(String endTime) {
        this.endTime = endTime;
    }
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    @Override
    public String toString() {
        return "UserToken{" +
                "id=" + id +
                ", token='" + token + '\'' +
                ", userId=" + userId +
                ", wxOpenId='" + wxOpenId + '\'' +
                ", createTime=" + createTime +
                ", end_time=" + endTime +
                ", userName='" + userName + '\'' +
                '}';
    }
}
